<?php

namespace App\Constant;

class GroupApplyEnum
{
    const STATUS_PENDING = 'pending';
    const STATUS_APPROVED = 'approved';
    const STATUS_REJECTED = 'rejected';


    const TYPE_NORMAL = 'normal';
    const TYPE_ADVANCED = 'advanced';

    const STATUS_EXPLAINS = [
        self::STATUS_PENDING => '待审核',
        self::STATUS_APPROVED => '已通过',
        self::STATUS_REJECTED => '已拒绝'
    ];

    const STATUS_COLORS = [
        self::STATUS_PENDING => 'primary',
        self::STATUS_APPROVED => 'success',
        self::STATUS_REJECTED => 'danger'
    ];

    const TYPE_EXPLAINS = [
        self::TYPE_NORMAL => '普通团长',
        self::TYPE_ADVANCED => '高级团长'
    ];

    const TYPE_COLORS = [
        self::TYPE_NORMAL => 'default',
        self::TYPE_ADVANCED => 'danger'
    ];
}
